]> dgit.raspbian.org Git - gnome-shell.git/commit
unlockDialog: Create auth prompt on demand
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 2 Dec 2019 14:01:20 +0000 (11:01 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 10 Feb 2020 22:30:52 +0000 (22:30 +0000)
commit37e55df29865dac13656116efdd7abec8056dea9
tree871c6f55d5c20d29beb532764a33a8175d4528eb
parent2644f6231811edf23913babc2e066a3530703da4
unlockDialog: Create auth prompt on demand

AuthPrompt is the set of actors that contain the user avatar,
the username, and the password entry. With the removal of the
screen shield, the unlock dialog (be it UnlockDialog or the
LoginDialog) is always created, and in the case of UnlockDialog,
so is the auth prompt.

This is problematic, though, since for passwordless accounts,
the simple act of creating AuthPrompt authenticates the user,
and lifts the lock screen.

Create the AuthPrompt on demand in UnlockDialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
js/ui/unlockDialog.js